package com.rerun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.rerun.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * SysMenu 表数据库控制层接口
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * Select menu ids byuser id list.
     *
     * @param uid the uid
     * @return the list
     */
    List<String> selectMenuIdsByuserId(String uid);

    /**
     * Select resource by uid list.
     *
     * @param uid the uid
     * @return the list
     */
    List<String> selectResourceByUid(@Param("uid") String uid);

}